<?php 

// src/Acme/DemoBundle/Form/Admin/PostType.php
namespace Acme\StoreBundle\Form\Admin;

use Symfony\Component\Form\AbstractType;
use Symfony\Component\Form\FormBuilderInterface;


class PostType extends AbstractType
{
    public function buildForm(FormBuilderInterface $builder, array $options) {
        
        $builder
            ->add('title', 'text')
            ->add('content')
            ->add('save', 'submit');

    }
    
    public function getName() {
        
        return 'admin_post';
    }
}